package cn.com.shopec.erp.base.service;

import cn.com.shopec.erp.common.page.PageFinder;
import cn.com.shopec.erp.common.page.PageQuery;
import cn.com.shopec.erp.financing.entity.PurchaserOrder;
import cn.com.shopec.erp.financing.entity.PurchaserOrderVo;
/**
 * 采购单类型有效期设置
 * 
 * */
public interface IPurchaseOrderTypeService
{
     /* 
     * @MethodName PurchaserOrder
     * @Description 判断采购类型
     *
     * @return
    */
    public  PurchaserOrder getType(String account);
    
    
    public PageFinder<PurchaserOrderVo> getPurchaser(PurchaserOrderVo vo, PageQuery pageQuery);
    
    /**
     * 采购单类型保存
     * */
    public void savePurchaseType(PurchaserOrder po);
    
    /**
     * 根据id取对象
     * @param id
     * @return
     */
    public PurchaserOrder getPurchaserOrderById(String id);
    
    /**
     * 修改单据有效设置
     * @param purchaserOrder
     * @throws Exception 
     */
    public void getByIdUpdateReceipts(PurchaserOrder purchaserOrder) throws Exception;
    
}
